package br.com.mobile.scrum.activity;

import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;

import android.app.ListActivity;
import android.os.Bundle;
import br.com.mobile.scrum.domain.Project;

public class ProjectListActivity extends ListActivity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		List<Project> listProject = new ArrayList<Project>();

		listProject.add(new Project("Projeto 01", Calendar.getInstance()));
		listProject.add(new Project("Projeto 02", Calendar.getInstance()));
		
		
		setListAdapter(new ArrayAdapterCustom(this, listProject));
	}
}
